package com.gykj.admin.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "TB_RESOURCES")
public class Resources implements Serializable{
    public Resources() {
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @Column(name = "RS_NAME")
    private String rsName;

    @Column(name = "RS_URL")
    private String rsUrl;

    @Column(name = "RS_TYPE")
    private Short rsType;

    @Column(name = "PARENT_ID")
    private Integer parentId;

    @Column(name = "RS_SORT")
    private Integer rsSort;

    @Column(name = "VERSION")
    private BigDecimal version;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    @Column(name = "LAST_UP_TIME")
    private Date lastUpTime;

    @Column(name = "STATUS")
    private BigDecimal status;

    @Column(name = "REMARK")
    private String remark;

    @Column(name = "IS_VALID")
    private BigDecimal isValid;

    /**
     * @return ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return RS_NAME
     */
    public String getRsName() {
        return rsName;
    }

    /**
     * @param rsName
     */
    public void setRsName(String rsName) {
        this.rsName = rsName;
    }

    /**
     * @return RS_URL
     */
    public String getRsUrl() {
        return rsUrl;
    }

    /**
     * @param rsUrl
     */
    public void setRsUrl(String rsUrl) {
        this.rsUrl = rsUrl;
    }

    /**
     * @return RS_TYPE
     */
    public Short getRsType() {
        return rsType;
    }

    /**
     * @param rsType
     */
    public void setRsType(Short rsType) {
        this.rsType = rsType;
    }

    /**
     * @return PARENT_ID
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * @param parentId
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * @return RS_SORT
     */
    public Integer getRsSort() {
        return rsSort;
    }

    /**
     * @param rsSort
     */
    public void setRsSort(Integer rsSort) {
        this.rsSort = rsSort;
    }

    /**
     * @return VERSION
     */
    public BigDecimal getVersion() {
        return version;
    }

    /**
     * @param version
     */
    public void setVersion(BigDecimal version) {
        this.version = version;
    }

    /**
     * @return CREATE_TIME
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return LAST_UP_TIME
     */
    public Date getLastUpTime() {
        return lastUpTime;
    }

    /**
     * @param lastUpTime
     */
    public void setLastUpTime(Date lastUpTime) {
        this.lastUpTime = lastUpTime;
    }

    /**
     * @return STATUS
     */
    public BigDecimal getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(BigDecimal status) {
        this.status = status;
    }

    /**
     * @return REMARK
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return IS_VALID
     */
    public BigDecimal getIsValid() {
        return isValid;
    }

    /**
     * @param isValid
     */
    public void setIsValid(BigDecimal isValid) {
        this.isValid = isValid;
    }
}